SlimStat\Dependencies\Symfony\Component\Console\Helper\ProgressBar C

Total Complexity 102
Dependencies 7
Dependents 2
Total lines 586
Lines of code 329
Logical lines of code 188
Comment lines 87
Methods 42
Properties 24

Methods 42

Method Rating Maintainability Complexity Lines of code
setProgress()
A
52 10 23
overwrite()
A
47 9 36
determineBestFormat()
S
62 8 12
buildLine()
S
50 5 27
initPlaceholderFormatters()
S
46 4 40
__construct()
S
56 4 18
clear()
S
66 4 9
setRealFormat()
S
65 4 9
finish()
S
66 4 9
display()
S
65 4 9
getBarOffset()
S
75 3 3
iterate()
S
66 3 8
setPlaceholderFormatterDefinition()
S
71 2 6
setMaxSteps()
S
71 2 5
getBarCharacter()
S
78 2 3
setRedrawFrequency()
S
77 2 3
getRemaining()
S
70 2 6
getEstimated()
S
70 2 6
getFormatDefinition()
S
70 2 6
setFormatDefinition()
S
71 2 6
getPlaceholderFormatterDefinition()
S
70 2 6
start()
S
66 2 9
initFormats()
S
62 1 12
setMessage()
S
80 1 3
setOverwrite()
S
81 1 3
advance()
S
80 1 3
getMessage()
S
79 1 3
maxSecondsBetweenRedraws()
S
81 1 3
minSecondsBetweenRedraws()
S
81 1 3
getStartTime()
S
82 1 3
setFormat()
S
77 1 4
getProgressCharacter()
S
82 1 3
getEmptyBarCharacter()
S
82 1 3
setEmptyBarCharacter()
S
81 1 3
setBarCharacter()
S
81 1 3
getBarWidth()
S
82 1 3
setBarWidth()
S
79 1 3
getProgressPercent()
S
82 1 3
getStepWidth()
S
82 1 3
getProgress()
S
82 1 3
getMaxSteps()
S
82 1 3
setProgressCharacter()
S
81 1 3